package com.springcloud.demo.base.vo;

public enum ResultType {

    OK(0, "成功"),
    FAIL(9999, "处理异常");

    private int code;
    private String msg;

    ResultType(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
